// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.circuit;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class Circuit {
  Pin[] pins;
  Bus[] buses;
  Unit[] units;
  Jumper[] jumpers;
  String[] script;
  
  public static final class Pin {
    String name;
    String width;
  }
  
  public static final class Bus {
    String name;
    String width;
  }
  
  public static final class Unit {
    String unitName;
    String name;
  }
  
  public static final class Jumper {
    String unitA;
    String pinA;
    int startA;
    
    String unitB;
    String pinB;
    int startB;
    
    int width;
  }
}
